python detect_gui.py